package com.dao.generic;


import java.util.List;

import com.dao.exception.DAOException;

//Todo os cruds devem implementar estes metodos
public interface IDAO<T> {

	public void save(Object obj);

	public void update(Object obj) throws DAOException;

	public void remove(Object obj) throws DAOException;
	
	List<T> findAll() throws DAOException;

    T findById(int id) throws DAOException;

}
